package likou.tanxin;

import java.util.ArrayList;
import java.util.List;

/**
 * @Info:
 * @Author: 唐小尊
 * @Date: 2020/10/14 09:30
 */
public class _659 {
    public static void main(String[] args) {
    }

    public static boolean isPossible(int[] nums) {
        List<int[]> list = new ArrayList<>();
        int now = nums[0];
        int[] nows = {now, 1};
        for (int i = 0; i < nums.length; i++) {
            if (now != nums[i]) {
                list.add(nows);
                nows[0] = nums[i];
                nows[1] = 1;
            } else {
                nows[1] = nows[1] + 1;
            }
        }
        if (list.size()<3){
            return false;
        }
        while (list.size()>0){
            for (int i=0;i<list.size();i++){

            }
        }

        return true;

    }
}
